from django.urls import path, re_path, include

# 定义自己的 URL
from ssqapp import views

urlpatterns = [
    # path('', views.index, name='index'),
    # 第二个参数叫 name，是为了给当前 path 起名字，用于反向解析

    path('index/', views.index, name='index'),  # path 不识别正则

    path('ssqShow/', views.ssqShow, name='ssqShow'),

    path('qxc/', views.qxc, name='qxc'),
    path('dlt/', views.dlt, name='dlt'),
    path('pl5/', views.pl5, name='pl5'),
    path('sd/', views.sd, name='sd'),
    path('dltShow/', views.dltShow, name='dltShow'),
    path('qxcShow/', views.qxcShow, name='qxcShow'),
    path('pl5Show/', views.pl5Show, name='pl5Show'),
    path('sdShow/', views.sdShow, name='sdShow'),



    # path('myExp/', views.myExp, name='myExp'),  # path 不识别正则

    # re_path(r'(\d+)', views.detail, name='detail'),  # 正则需要用 re_path
    # re_path(r'^(?P<id>[0-9]+)/$', views.detail, name='detail'),   # 正则命名组
    # path('', views.home, name='home'),
]
